//
//  CFBTHomePageNavVC.m
//  半糖框架
//
//  Created by afro on 15/12/11.
//  Copyright © 2015年 afro. All rights reserved.
//


#import "CFBTTopicTableViewCell.h"

@interface CFBTTopicTableViewCell()

@property (weak, nonatomic) IBOutlet UIImageView *topicImg;

@property (weak, nonatomic) IBOutlet UILabel *title;

@property (weak, nonatomic) IBOutlet UILabel *numLabel;

@end

@implementation CFBTTopicTableViewCell

- (void)setTopic:(CFBTTopicModel *)topic{
    
    _topic = topic;
    
    [self.topicImg sd_setImageWithURL:[NSURL URLWithString:topic.pic]];
    
    self.title.text = topic.title;
    
    self.numLabel.text = topic.likes;
    
    
    
}

@end
